﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.IO;

// By Mario
namespace InformationRetrieval.SResult
{
    public class SearchResult
    {
        public int DocumentIndex { get; set; } //was ist das? Mike
        public string DocumentPath { get; set; }
        public List<int> TermPositions { get; set; }


        public string DocumentName 
        {
            get
            {
                return Path.GetFileName(this.DocumentPath);
            }
        }


        public SearchResult()
        {
            DocumentPath = "";
        }
       
    }
}
